package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("customer")
@Data
public class Customer {
    @TableId(value="id",type=IdType.AUTO)       //自增，value里是主键名称
    private Integer id;
    private  String username;
    private  String password;

}
